package com.gmtx.syb.application;

import android.app.Application;

import com.gmtx.syb.bean.User;
import com.gmtx.syb.utils.SystemUtil;

/**
 * Created by Administrator on 2016/11/18.
 */

public class MyApplication extends Application {

    public static final String TAG = "Application";
    public static long time;

    public static int window_width;
    public static int window_height;
    //渠道名称
    public static String UMENG_CHANNEL;
    //用户对象
    public static User user;

    @Override
    public void onCreate() {
        super.onCreate();
        init();
    }

    private void init() {
        UMENG_CHANNEL = SystemUtil.getMetaDataStringApplication("UMENG_CHANNEL","",this);
        user = new User();
    }


}
